package com.ddstation.onsitelaw.entity.auditentity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

@Table(name = "passdb.ma_pass_drug_age_dosage")
@Data
public class MaPassDrugAgeDosageEntity {
    @Id
    private Integer id;

    private String name;

    /**
     * 药品名称
     */
    @Column(name = "drug_name")
    private String drugName;

    /**
     * 药品规格
     */
    private String specification;

    /**
     * 剂型
     */
    @Column(name = "prep_form")
    private String prepForm;

    /**
     * 含量规格
     */
    @Column(name = "content_spec")
    private BigDecimal contentSpec;

    /**
     * 含量规格单位
     */
    @Column(name = "content_spec_unit")
    private String contentSpecUnit;

    /**
     * 含量规格单位文本
     */
    @Column(name = "content_unit_text")
    private String contentUnitText;

    /**
     * 年龄
     */
    private BigDecimal age;

    /**
     * 默认频次
     */
    @Column(name = "default_frequency")
    private String defaultFrequency;

    /**
     * 最大频次
     */
    @Column(name = "frequency_max")
    private String frequencyMax;

    /**
     * 默认用量
     */
    @Column(name = "default_quantity")
    private BigDecimal defaultQuantity;

    /**
     * 最大用量
     */
    @Column(name = "max_quantity")
    private BigDecimal maxQuantity;
}